package com.mxwl.cbg.common.model.mapper;

import com.mxwl.cbg.common.model.es.role.ESRoleEquipment;
import com.mxwl.cbg.common.model.source.role.AssetsProp;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;


@Mapper
public interface RoleEquipmentMapping {
    RoleEquipmentMapping INSTANCE = Mappers.getMapper(RoleEquipmentMapping.class);

    void updateESEquipmentFromProp(@MappingTarget ESRoleEquipment esEquipment, AssetsProp.Prop prop);
}
